<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page session="false"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<table class="table table table-striped table-hover">
		<thead>
			<tr>
				<th>no</th>
				<th>描述</th>
				<th>发布时间</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${codes}" var="code">
				<tr>
					<td>${code.id}</td>
					<td><a href="code/get/${code.id}"><c:out value="${code.description} "></c:out></a></td>
					<td>${code.date}</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</body>
</html>